<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"
    <title>练习</title>
    <style>.a{text-align:right;heigh:20px;}</style>
</head>
<body>
<p>1.<input type="text" style="background: orangered"></p>
<p>2.<input type="text" style="color:blue"></p>
<p>3.<input type="text" class="a"></p>
</body>
</html>